﻿using BCCommon.Enums;
using BCData.WeChatComponent.WeChatMessageRecord;
using BCEntity.WeChatComponent.WeChatMessageRecord;
using System;
using System.Collections.Generic;
using System.Text;
using WeChatSDK.WeChatDto.Conversation.ReceivingMessage;
using WeChatSDK.WeChatDto.Conversation.ReceivingMessage.EventMessage;

namespace BCService.WeChatComponent.WeChatHandleService.EventMessageService.PicSysphotoEventMessageService
{
    /// <summary>
    /// 弹出系统拍照发图的事件处理
    /// </summary>
    public class PicSysphotoEventMessageService : IWeChatMessageHandle
    {
        public string HandleMessage(ReceivingMessageDto message)
        {
            PicSysphotoEventMessageDto picSysphotoEventMessageDto = (PicSysphotoEventMessageDto)message;
           
            if (picSysphotoEventMessageDto.Event == "pic_sysphoto")
            {
                PicSystemPhotoProcess(picSysphotoEventMessageDto);
            }
            else if(picSysphotoEventMessageDto.Event == "pic_photo_or_album")
            {
                PicPhotoOrAlbumProcess(picSysphotoEventMessageDto);
            }
            else
            {
                PicWeiXinProcess(picSysphotoEventMessageDto);
            }
            throw new NotImplementedException();
        }
        private void PicSystemPhotoProcess(PicSysphotoEventMessageDto picSysphotoEventMessageDto)
        {

        }
        private void PicPhotoOrAlbumProcess(PicSysphotoEventMessageDto picSysphotoEventMessageDto)
        {

        }
        private void PicWeiXinProcess(PicSysphotoEventMessageDto picSysphotoEventMessageDto)
        {

        }
    }
}
